package com.jier.vo.admin;

import io.swagger.annotations.ApiModelProperty;

import java.util.ArrayList;
import java.util.List;

/**
 * 系统权限模块
 *
 * @author jie_r
 * @date 2018/03/08
 */
public class SystemPermissionModuleVo {
    /**
     * 模块名称
     */
    @ApiModelProperty(value = "模块名称", dataType = "String")
    private String name;
    /**
     * 模块权限
     */
    @ApiModelProperty(value = "模块权限", dataType = "List")
    private List<SystemRolePermissionVo> permissions;

    public SystemPermissionModuleVo(String name) {
        this.name = name;
        this.permissions = new ArrayList<>();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<SystemRolePermissionVo> getPermissions() {
        return permissions;
    }

    public void setPermissions(List<SystemRolePermissionVo> permissions) {
        this.permissions = permissions;
    }
}
